<template>
  <div class="header">
      <h1>
          <slot></slot>
      </h1>
  </div>

</template>

<script>
export default {
    name: 'Header',

}
</script>

<style lang="scss" scoped>
 .header{
     position: fixed;
     top: 0;
     left: 0;
    z-index: 1;
     width: 100%;
     background-color: #ed4040;
     text-align: center;
     line-height: .44rem;
    //  font-size: .14rem;
    h1 {
        font-size: .18rem;
        color: #fff;
    }
 }



</style>